package com.lanyam.travel.base.entity;


import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Builder;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.springframework.format.annotation.DateTimeFormat;


@Data
public class DistrUser {

    /*
     * 
     */
    @JsonProperty(value="id")
    private String id;

    /*
     * 
     */
    @JsonProperty(value="userId")
    private String userId;

    /*
     * 
     */
    @JsonProperty(value="userName")
    private String userName;

    /*
     * 
     */
    @JsonProperty(value="nickName")
    private String nickName;

    /*
     * 审核状态(0:待审核,1:驳回,9:审核通过)
     */
    @JsonProperty(value="auditStatus")
    private Integer auditStatus;

    /*
     * 审核时间
     */
    @JsonProperty(value="auditTime")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date auditTime;

    /*
     * 审核用户
     */
    @JsonProperty(value="auditUserid")
    private String auditUserid;

    /*
     * 分销层级
     */
    @JsonProperty(value="dislevel")
    private Integer dislevel;

    /*
     * 分销团队
     */
    @JsonProperty(value="teamId")
    private String teamId;

    /*
     * 上级分销商用户
     */
    @JsonProperty(value="fatherUserid")
    private String fatherUserid;
    /*
     * 余额
     */
    @JsonProperty(value="amount")
    private BigDecimal amount = BigDecimal.ZERO;


	/**
	 * 邀请码
	 */
	@JsonProperty("inviteCode")
	private String inviteCode;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public Integer getAuditStatus() {
		return auditStatus;
	}

	public void setAuditStatus(Integer auditStatus) {
		this.auditStatus = auditStatus;
	}

	public Date getAuditTime() {
		return auditTime;
	}

	public void setAuditTime(Date auditTime) {
		this.auditTime = auditTime;
	}

	public String getAuditUserid() {
		return auditUserid;
	}

	public void setAuditUserid(String auditUserid) {
		this.auditUserid = auditUserid;
	}

	public Integer getDislevel() {
		return dislevel;
	}

	public void setDislevel(Integer dislevel) {
		this.dislevel = dislevel;
	}

	public String getTeamId() {
		return teamId;
	}

	public void setTeamId(String teamId) {
		this.teamId = teamId;
	}

	public String getFatherUserid() {
		return fatherUserid;
	}

	public void setFatherUserid(String fatherUserid) {
		this.fatherUserid = fatherUserid;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

}